<html>
<head>
<style>
.ex1 {margin-bottom:2cm}
</style>
</head>

<body>
<div>This is a div</div>
<div class="ex1">This is a div</div>
<div>This is a div</div>
</body>
</html>